import type { NextConfig } from "next";

const isProd = process.env.NODE_ENV === "production";
const nextConfig: NextConfig = {
	env: {
		STATIC_URL: isProd ? process.env.STATIC_URL : "",
	},
	assetPrefix: isProd ? process.env.STATIC_URL : ""
};

export default nextConfig;
